profile| Adds (opt-inable) profile-heatmap generation output to tox test-runs#3503
Conversation
|
Thanks for the PR. I think this should be either a separate step or controlled via an additional parameter (which we can already pass via posargs). The reason is that running the test suite locally already takes a bit for contributors, but slowing it down wholesale would not make a lot of sense if folks don't work on performance related patches. |
|
I very much agree.
Edit: I reread the tox docs and updated the description. This a much more maintainable patch now IMO |
We can use `tox -epy38 -- --profile-svg` to enable this functionality now that we have the pytest-profile dependency.
ba01151 to
1e21a0d
Compare
|
Nice, thanks a lot! |
Steps
doc/whatsnew/<current release.rst>.Description
Fairly straight-forward change enabling the creation heatgraphs for test-runs, when and as needed.
We can use
tox -epy38 -- --profile-svgto enable this functionality now that we have the pytest-profiling dependency added to tox.Partly addresses #1954. Split out from the original PR for #3473.
Type of Changes
Related Issue